import {createApp} from './main'

const {app,router,store} = createApp();
//在页面中拿到state数据
if(window.__NINITIAL_STATE__){
  store.replaceState(window.__NINITIAL_STATE__)
}
router.onReady(()=>{
  app.$mount('#app')
})